home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr48 / ned100.zip / MAKEHELP.BAT < prev    next >
DOS Batch File  |  1993-04-08  |  1KB  |  58 lines

  1. echo off
  2.  
  3. : -------------------------------------------
  4. :
  5. : Run the TVHC program to create a help file.
  6. : Check if it made the EDITHELP.PAS file.
  7. : If not, TVHC is not in directory or path.
  8. :
  9. : -------------------------------------------
  10.  
  11.  
  12. tvhc edithelp
  13.  
  14. if exist edithelp.pas goto KEEPTRUCKIN
  15. echo TVHC program failed or not found!
  16. goto FINIS
  17.  
  18.  
  19.  
  20. : --------------------------------------------------------------
  21. :
  22. : We've already defined a CMDFILE.PAS for all our hcXXXX and
  23. : cmXXXX constants.  So erase the .TPU file that TVHC creates.
  24. : However, the .PAS file is nice in that it puts all the hcXXXX
  25. : commands in alphabetic order, so we'll keep it as a reference.
  26. :
  27. : --------------------------------------------------------------
  28.  
  29.  
  30. :KEEPTRUCKIN
  31.  
  32. if exist edithelp.tpu erase edithelp.tpu
  33.  
  34.  
  35.  
  36. : -----------------------------------------
  37. :
  38. : Erase our previous application help file.
  39. :
  40. : -----------------------------------------
  41.  
  42.  
  43. if exist nedemo.hlp erase nedemo.hlp
  44.  
  45.  
  46.  
  47. : -----------------------------------------------------------
  48. :
  49. : Now rename the helpfile TVHC made for us to our application
  50. : help file name.
  51. :
  52. : -----------------------------------------------------------
  53.  
  54.  
  55. rename edithelp.hlp nedemo.hlp
  56.  
  57. :FINIS
  58.